package com.currency.admin.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.currency.common.base.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典类型表
 * </p>
 *
 * @author Lan
 * @since 2021-12-10
 */
@Data
@Accessors(chain = true)
@TableName("sys_dict")
@ApiModel(value = "SysDict对象", description = "字典类型表")
public class SysDict extends BaseEntity {

    @ApiModelProperty("主键 ")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("类型名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("类型编码")
    @TableField("code")
    private String code;

    @ApiModelProperty("状态（0-正常 ,1-停用）")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;



}
